
<!DOCTYPE html>
<html lang="en">
<head>

    <title>修改题目的页面</title>
    <!-- 引入js文件 -->

    <link rel="stylesheet"
          href="${pageContext.request.contextPath}/resources/bootstrap/css/bootstrap.min.css" />
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/resources/jquery/jquery-1.11.0.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/resources/jquery/jquery-migrate-1.2.1.min.js"></script>
    <!-- 导入bootStrap的库 -->
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/resources/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/resources/easyUI/jquery.easyui.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/resources/easyUI/easyui-lang-zh_CN.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/easyUI/easyui.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/resources/blockUI/jquery.blockUI.js"></script>

    <script>
        $(function () {
            //弹框提示信息
            if("${tip}"){
                $.messager.show({
                    title:'提示',
                    msg:"<span style='color:red;'>${tip}</span>",
                    showType:'slide'
                });
            }
        })
    </script>

</head>
<body>
<center>
<#--${tip}-->
    <form id="updateUserForm" action="/testPaper/updateTestPaper" method="post" enctype="multipart/form-data"><#--注意上传文件一定要enctype为“multipart/form-data”-->
        <!-- 当前用户的useId -->
        <input name="id" value="${testPaper.id}" type="hidden">
        <table class="table-condensed">
            <tbody>
            <tr>
                <td><label>ID:</label></td>
                <td><span class="label label-danger">${testPaper.id}</span></td>     <#--.label label-danger	"danger" 类型的红色标签-->
                <td><label>题型:</label></td>
                <td><input id="name" name="name" value="${testPaper.name}" type="text" class="form-control" placeholder="请输入试卷的名称"></td>
            </tr>
            <tr>
                <td><label>备注:</label></td>
                <td colspan="4"><input id="remark" name="remark" value="${testPaper.remark}" type="text" class="form-control" placeholder="请输入备注信息"></td>
            </tr>

            </tbody>
        </table>
        <input type="submit" class="btn btn-info" value="修改">

        <button type="reset" class="btn btn-danger">
            <span class="glyphicon glyphicon-remove"></span>&nbsp;重置
        </button>
        </div>
    </form>

</center>
</body>
</html>